package com.woniu.darryringmall.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.darryringmall.front.entity.Comment;
import com.woniu.darryringmall.front.entity.CommentVo;

import java.util.List;

/**
 * 评论表Service接口
 */
public interface CommentService extends IService<Comment> {
    void add(Comment comment);

    void del(int id);

    List<CommentVo> getNoCmByUserId(int userId); //通过用户Id获取未评价的订单

    List<CommentVo> getCmByUserId(int userId); //通过用户Id获取已评价的订单

}
